<%@ page contentType="image/jpeg"%>
<%@ page import = "org.jfree.chart.*" %>
<%@ page import ="chart.*"%>
<%
    ServletOutputStream sos = response.getOutputStream();
    PieChartBean bcb = new PieChartBean(); 
	JFreeChart chart = bcb.getPieChart();
	ChartUtilities.writeChartAsPNG(sos, chart, 500, 300);
%>
